import { Event } from '@opensumi/ide-core-common';
export interface ILowcodeService {
  showMessage(message: string): void;
  openPage(title: string): void;
}

export const LowcodeContainerId = 'lowcode';

export const ILowcodeService = Symbol('LowcodeService');

export interface ILowcodeNodeService {
  showMessage(message: string): void;
}

export const ILowcodeNodeService = Symbol('LowcodeService');

export namespace LOWCODE_COMMANDS {
  export const CREATE_PROJECT = {
    id: 'lowcode.create',
    label: 'lowcode:创建项目'
  };

  export const CREATE_PAGE = {
    id: 'lowcode.create.page',
    label: 'lowcode:创建页面'
  }
}

export const ILowcodeConnectionServerPath = 'LowcodeConnectionServerPath';

export const LowcodePageScheme = 'lowcode-page';

export const LowcodeComponentId = 'lowcode-page';
